package homework0301;
//替换
public class ReplaceAllDemo {
    public static void main(String[] args) {
     String line="abc123hij789opq";
     line=line.replaceAll("[0-9]+","NUMBER#");
        System.out.println(line);
    }
}
